package com.zhentao;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.context.annotation.ComponentScan;

@SpringBootApplication
@EnableDiscoveryClient
@ComponentScan(basePackages = {"com.zhentao.subscription", "com.zhentao.datacontrol", "com.zhentao.dataintegrity", "com.zhentao.datacollection"})
@MapperScan({"com.zhentao.subscription.mapper", "com.zhentao.datacontrol.mapper", "com.zhentao.dataintegrity.mapper", "com.zhentao.datacollection.mapper"})
public class SubscriptionApplication {
    public static void main(String[] args) {
        SpringApplication.run(SubscriptionApplication.class, args);
        System.err.println("启动成功");
    }
}

